<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
<script th:src="@{/resources/js/jquery-3.2.1.js}"></script>

</head>

<body>
	welcome to springboot thymeleaf index  html
	<p>你好</p>
	<p th:inline="text">Hello, [[${session.user}]]!</p>
	

</body>

<script th:inline="JavaScript">
	 var s = [[${session.user1}]];
	 console.info(s);
	 
	 /*<![CDATA[*/
	        for(var i=0;i<10;i++) {
	            console.info(i);
	        }
	    /*]]>*/
	
</script>

</html>